package entity;

public class Person {
		private String name;
		private int age;
		private String headImg;
		public String getName() {
			return name;
		}
		public void setName(String name) {
			this.name = name;
		}
		public int getAge() {
			return age;
		}
		public void setAge(int age) {
			this.age = age;
		}
		public String getHeadImg() {
			return headImg;
		}
		public void setHeadImg(String headImg) {
			this.headImg = headImg;
		}
		public Person(){
			
		}
		public Person(String name,int age,String headImg){
					this.name=name;
					this.age=age;
					this.headImg=headImg;
		}
		public static void main(String[] args) {
			int a=1;
			int b=10;
			do{
				b-=a;
				a++;
			}while(b--<0);
			System.out.println(b+"");
		}
}
